//
//  DefaultToolViewController.swift
//  CHSimpleUI
//
//  Created by cyptt on 2022/7/20.
//

import UIKit

class DefaultToolViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    @IBAction func getLocationBtnclick(_ sender: UIButton) {
        
        CHCoordinateManage.sharedInstance().startLocationIsCoder(true) { model in
            print(model.longitude)
        } fail: { error in
            print(error)
        }

    }
    
    @IBAction func cameraBtn(_ sender: UIButton) {
        
        
    

        CHSysCamera.shared.openAlert(controller: self) { image, fileUrl in
            
        } failB: { failmsg in
            
        }


    }
    
}
